import request from '@/utils/request'

// 查询系统组件参数列表
export function listSysComponentParameters(query) {
  return request({
    url: '/business/sysComponentParameters/list',
    method: 'get',
    params: query
  })
}

// 查询系统组件参数详细
export function getSysComponentParameters(id) {
  return request({
    url: '/business/sysComponentParameters/' + id,
    method: 'get'
  })
}

// 新增系统组件参数
export function addSysComponentParameters(data) {
  return request({
    url: '/business/sysComponentParameters',
    method: 'post',
    data: data
  })
}

// 修改系统组件参数
export function updateSysComponentParameters(data) {
  return request({
    url: '/business/sysComponentParameters',
    method: 'put',
    data: data
  })
}

// 删除系统组件参数
export function delSysComponentParameters(id) {
  return request({
    url: '/business/sysComponentParameters/' + id,
    method: 'delete'
  })
}
